﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SmartEP.Presenter;

namespace SmartDesktop
{
    public partial class Step1View : BaseStep, IStep1View
    {
        public Step1View(PatientCarePresenter presenter)
            : base(presenter)
        {
            InitializeComponent();
            this.Name = "Registration Step 1";

            this.step = 1;
            this.GroupStep = GroupStepType.PrivacyPolicyAndConsent;
        }

        #region Property
        public String Signature
        {
            get { return txtSignature.Text; }
            set { txtSignature.Text = value; }
        }
        public String RelationshipToPatient
        {
            get { return txtRelationship.Text; }
            set { txtRelationship.Text = value; }
        }
        public String PrintName
        {
            get { return txtPrintName.Text; }
            set { txtPrintName.Text = value; }
        }
        public DateTime SignatureDate
        {
            get { return dtpDate.Value; }
            set { dtpDate.Value = value; }
        }
        #endregion

        private void btnContinue_Click(object sender, EventArgs e)
        {
            this.presenter.DisplayNextStep(this.step);
        }
    }
}
